-emacs22 (22.2+2-3) unstable; urgency=low
+emacs22 (22.2+2-3) unstable; urgency=medium
* Fix an insecurity related to fast-lock-cache-directories
(CVE-2008-2142). Thanks to Provided-by: Sven Joachim <svenjoac@gmx.de>
function. Thanks to Jun Inoue <jun.lambda@gmail.com>.
(closes: #488427)
- -- Rob Browning <rlb@defaultvalue.org> Wed, 23 Jul 2008 19:58:11 -0700
+ * Don't look for GNU to find etc/. Look for NEWS instead. Thanks to
+ "Bernhard Michler" <Boregard@gmx.net> for the report and Sven Joachim
+ <svenjoac@gmx.de> for the fix. (closes: #478240)
+
+ -- Rob Browning <rlb@defaultvalue.org> Wed, 23 Jul 2008 20:32:25 -0700
emacs22 (22.2+2-2) unstable; urgency=medium
--- /dev/null
+* Emacs will now look for NEWS in order to find etc/ rather than GNU.
+ Patch: look-for-news-to-find-etc.diff
+ Provided-by: Sven Joachim <svenjoac@gmx.de>
+ Originally-reported-by: Bernhard Michler <Boregard@gmx.net>
+ Date: Mon, 28 Apr 2008 11:20:23 +0200
+ Added-by: Rob Browning <rlb@defaultvalue.org>
+ Status: Debian specific
+
+ Since Debian doesn't include GNU in the Debian packages (the common
+ licenses are in /usr/share/common-licenses), Emacs will now look for
+ NEWS to find the etc directory instead of GNU.
+
+Index: sid/src/callproc.c
+===================================================================
+--- sid.orig/src/callproc.c
++++ sid/src/callproc.c
+@@ -1587,14 +1587,14 @@
+
+ srcdir = Fexpand_file_name (build_string ("../src/"),
+ build_string (PATH_DUMPLOADSEARCH));
+- tem = Fexpand_file_name (build_string ("GNU"), Vdata_directory);
++ tem = Fexpand_file_name (build_string ("NEWS"), Vdata_directory);
+ tem1 = Ffile_exists_p (tem);
+ if (!NILP (Fequal (srcdir, Vinvocation_directory)) || NILP (tem1))
+ {
+ Lisp_Object newdir;
+ newdir = Fexpand_file_name (build_string ("../etc/"),
+ build_string (PATH_DUMPLOADSEARCH));
+- tem = Fexpand_file_name (build_string ("GNU"), newdir);
++ tem = Fexpand_file_name (build_string ("NEWS"), newdir);
+ tem1 = Ffile_exists_p (tem);
+ if (!NILP (tem1))
+ Vdata_directory = newdir;